CsvEntityList
StockSharp.Algo.Storages.Csv
List of trade objects, received from the CSV storage.
Наследует: SynchronizedList<T>
Реализует: IStorageEntityList<T>, INotifyList<T>, INotifyCollection<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList<T>, ISynchronizedCollection<T>, ISynchronizedCollection, ISynchronizable, ICsvEntityList, IAsyncDisposable
Конструкторы
CsvEntityList(CsvEntityRegistry, string, ChannelExecutor)
Initializes a new instance of the CsvEntityList.
- registry
- The CSV storage of trading objects.
- fileName
- CSV file name.
- executor
- Sequential operation executor for disk access synchronization.
Свойства
Cache : T[]
Cached items.
CreateArchivedCopy : bool
Create archived copy.
Registry : CsvEntityRegistry
The CSV storage of trading objects.
Методы
ClearCache()
Clear cache.
DisposeAsync() : ValueTask
Disposes the resources.
IsChanged(T, bool) : bool
Is changed.
- entity
- Trade object.
- forced
- Forced update.
Возвращает: Is changed.
OnRemoved(T)
Save(T)
WriteAsync(CsvFileWriter, T, CancellationToken) : ValueTask
Write data into CSV.
- writer
- CSV writer.
- data
- Trade object.
- cancellationToken
- CancellationToken